//
//  ClassModel.m
//  BOSS-SOOC
//
//  Created by apple on 16/8/17.
//  Copyright © 2016年 Gcx. All rights reserved.
//

#import "ClassModel.h"

@implementation ClassModel

- (id)initWithDic:(NSDictionary *)dic{

    if (self = [super init]) {
        
        _pid   = dic[@"pid"];
        _xsm   = dic[@"xsm"];
        _yxid  = dic[@"yxid"];
        _count = dic[@"count"];
    }
    return self;
}

+ (ClassModel *)modelWithDic:(NSDictionary *)dic{

    return [[ClassModel alloc]initWithDic:dic];
}

@end
